/*
 * Copyright (c) 2022 Institute of Software Chinese Academy of Sciences (ISCAS)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

.button-blue {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 23px;
  min-width: 48px;
  height: 34px;
  background-color: #337aff;
  color: #fff;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
}
.button-white {
  background: #ffffff;
  color: #337aff;
  border: 1px solid #337aff;
  @extend .button-blue;
}

.button-img {
  padding: 0 13px;
  img {
    width: 16px;
    height: 16px;
    margin-right: 4px;
  }
  @extend .button-blue;
}
.button-img2 {
  background: #eaf1ff;
  color: #337aff;
  @extend .button-img;
}

.button-gray {
  background: #f5f6fa;
  color: #464956;
  @extend .button-img;
}

.run {
  @keyframes rotate {
    0% {
      -webkit-transform: rotate(0deg);
    }
    25% {
      -webkit-transform: rotate(90deg);
    }
    50% {
      -webkit-transform: rotate(180deg);
    }
    75% {
      -webkit-transform: rotate(270deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
    }
  }
  animation: rotate 2s linear infinite;
}
.run2{
  @extend .run;
  animation: rotate 1s linear infinite;
}
.img-30{
  width: 30px;
  height: 30px;
}
.img-15{
  width: 15px;
  height: 15px;
}
